<?php

    session_start();
    $name = $_POST['username'];
    $_SESSION["uname"] = $name;
    if($_SESSION["uname"] == "张三"){
        echo "你好，张三"."<br>";
    }else{
        echo "登陆失败 ".$name;
    }




